package com.ruoyi.teaching.service.impl;

import com.ruoyi.common.constant.HttpStatus;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.teaching.domain.PlatformFFeedbackType;
import com.ruoyi.teaching.mapper.PlatformFFeedbackTypeMapper;
import com.ruoyi.teaching.service.PlatformFFeedbackTypeService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 王旭
 * @since 2025-02-12
 */
@Service
public class PlatformFFeedbackTypeServiceImpl extends ServiceImpl<PlatformFFeedbackTypeMapper, PlatformFFeedbackType> implements PlatformFFeedbackTypeService {
    @Autowired
    private PlatformFFeedbackTypeMapper platformFFeedbackTypeMapper;

    @Override
    public AjaxResult listAll() {
        List<PlatformFFeedbackType> platformFFeedbackTypes = platformFFeedbackTypeMapper.selectList(null);
        return new AjaxResult(HttpStatus.SUCCESS, "查询成功", platformFFeedbackTypes);
    }
}
